package demo1;

public class StringDemo1 {
    public static void main(String[] args) {
        String str = "Hello World";
        System.out.println(str);
        String str2 = new String();
        System.out.println(str2);
        char[] chs = {'a', 'b', 'c'};
        System.out.println(chs);
        byte[] s1 = "Hello World".getBytes();
        System.out.println(s1);
        String str3 = new String("HeLlo World");
        System.out.println( str.equalsIgnoreCase(str3));

    }
}
